////////////////////////////////////////////////////////////
// Workfile : Person.cpp
// Author : Thomas Pfeiffer
// Date : 31.10.2012
// Description : Implementation of the Person class (only some getters)
////////////////////////////////////////////////////////////

#include <string>
#include "Person.h"

Person::Person( std::string fname, std::string lname, size_t addrind ) : 
	mFirstname(fname), mSecondname(lname), mIndex(addrind) {}

std::string Person::getName()
{
	return mFirstname + " " + mSecondname;
}

size_t Person::getIndex()
{
	return mIndex;
}
